package com.example.message_queue.mqserver.core;

/**
 * Created with Intellij IDEA.
 * Description;
 * User:TQ02
 * Data:2024-03-23
 * Time:14:27
 * Text：
 */
public enum ExchangeType {
    DIRECT(0),
    FANOUT(1),
    TOPIC(2);
    private final int type;
    private  ExchangeType(int type){
        this.type=type;
    }
    private int getType(){
        return type;
    }

}
